package com.jiaying.patient.domain;

import java.util.List;

/**
 * 病历本，主诉信息
 */
public class Record {

    private Integer recordId;
    /** 主诉信息 */
    private String recordReadme;
    /** 病例详情列表 一对多的关系  */

    private List<PresentTreat> presentTreatList;

    public List<PresentTreat> getPresentTreatList() {
        return presentTreatList;
    }

    public void setPresentTreatList(List<PresentTreat> presentTreatList) {
        this.presentTreatList = presentTreatList;
    }

    //????

    public Record(String recordReadme) {
        this.recordReadme = recordReadme;
    }

    public Record(Integer recordId, String recordReadme) {
        this.recordId = recordId;
        this.recordReadme = recordReadme;
    }
    public Record() {
    }

    @Override
    public String toString() {
        return "Record{" +
                "recordId=" + recordId +
                ", recordReadme='" + recordReadme + '\'' +
                '}';
    }

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public String getRecordReadme() {
        return recordReadme;
    }

    public void setRecordReadme(String recordReadme) {
        this.recordReadme = recordReadme;
    }
}
